package com.ccys.db.mapper;

import com.ccys.db.dto.web.inventory.*;
import com.ccys.db.entity.TblPurchaseOrder;
import com.ccys.db.vo.web.inventory.*;
import org.apache.ibatis.annotations.MapKey;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;
import java.util.Map;

/**
* Created by Mybatis Generator on 2023/12/12
*/
public interface TblPurchaseOrderMapper extends Mapper<TblPurchaseOrder>, MySqlMapper<TblPurchaseOrder> {


    List<PurchaseOrderVo> getList(PurchaseOrderPageDto dto);

    void deleteDetail(String orderId);

    List<ExchangeOrderVo> getExchangeList(ExchangeOrderPageDto dto);

    List<InventoryListVo> getInventoryList(InventoryListDto dto);


    List<ProductBatchVo> getProductBatch(ProductBatchDto dto);

    List<ProductBatchListVo> getProductBatchList();

    List<InventoryFlowVo> getInventoryFlow(InventoryFlowDto dto);

    ExchangeOrderDetailVo getExchangeOrderDetail(String id);



    List<GetPurchaseDetailListVo> getDetailList(String purchaseOrderId,String productId);


    List<PurchaseDetailVo> getDetailListByPurchaseOrderId(String id);


    List<GetPurchaseOrderListVo> getOrderList();
}
